
public class PredicateEndsWith implements Predicate {

	
	public boolean predicate(String element, String string){
		if(element!=null && string!=null){
		return ((String)element).endsWith((String)string);
		}
		else return false;
	}
	
}
